package com.qijian.business.domain.query;

import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Set;


/**
 * 工位定义对象 查询条件类
 *
 * @author qijian
 * @date 2021-08-30
 */

@Data
@ToString
@TableName("fm_station")
public class StationQuery {

    @WhereType(tableName = "fm_station", filed = "station_id")
    private Long stationId;
    @WhereType(tableName = "fm_station", filed = "process_code")
    private String processCode;
    @WhereType(tableName = "fm_station", filed = "station_code")
    private String stationCode;
    @WhereType(tableName = "fm_station", filed = "station_name")
    private String stationName;
    @WhereType(tableName = "fm_station", filed = "is_disabled")
    private Boolean isDisabled;

    @WhereType(filed = "station_id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
}
